=650) {$w_rate=650/$height; $height=650; $width=floor($width*$w_rate);} } //ÇöÀçÀÇ ³ªÀÌ¿Í ´Þ¸®±â ½ÃÀ۳⵵¸¦ ±¸ÇÑ´Ù. $current_old=date(Y)-$row[sub1]+1; $carrier_year=date(Y)-$row[sub2]+1; //Å«À̹ÌÁö º¸±â if($row[file2]){ $img_link = " \"Å«À̹ÌÁöº¸±â\"\n"; } else { $img_link = " \"$row[title]\"\n"; } //»ó¼¼³»¿ë¿¡ ¸µÅ©°É±â $title = "[»ó¼¼³»¿ë]\n"; //À̹ÌÁö¸¦ Ãâ·ÂÇϱâÀ§ÇÑ Á¶°Ç°ú ÇÔ¼ö, °¡·Î·Î ÃÖ´ë 5°³, ÃÖ¼Ò 1±îÁö Çã¿ë if($img_nums<=0) $img_nums=1; //°¡·Î·Î ÃÖ¼Ò 1°³ÀÌ»óÀ» Çã¿ëÇϱâÀ§ÇØ $td_size=floor(100/$img_nums); //ÇÑ ºí·°ÀÇ Å©±â¸¦ ³»¼­ td¿¡ ³ÐÀ̸¦ Á¤ÇϱâÀ§ÇØ if($line%$img_nums==0) //ȸ¿ø¸¸ ³»¿ëº¸±â¸¦ ÇßÀ» ½Ã¿¡ ¸µÅ© if(($read_key==c and strlen($id)>0) or $read_key==a or $read_key==b) $title_link=""; //¼ºº°À» Çѱ۷ΠÃâ·Â if($row[sub4]=="W") $sex="¿©ÀÚ"; else $sex="³²ÀÚ"; //À̸ÞÀϰú ȨÆäÀÌÁö ÁÖ¼Ò¸¦ Á¶°Ç¿¡ ¸ÂÀ¸¸é ¸µÅ© if($row[email]) $runner_email="$row[email]"; if($row[homeurl]<>"http://") $runner_url="$row[homeurl]"; else $runner_url=" "; //runningÄÚµå·ÎºÎÅÍ µ¥ÀÌŸ¸¦ ºÒ·¯¿Â´Ù 5km, 10km, half, fullÄÚ½º ÃÖ°í±â·Ï »Ì¾Æ³»±â $sql= "select * from $board where code = 'running' and add_no=0 and main_no>0 and id='$row[id]' order by sub1 desc, sub2 desc, sub3 desc, main_no desc, dep_no desc"; $result = mysql_query($sql); $five_num=0; $ten_num=0; $half_num=0; $full_num=0; $total_num=0; $ultra_distance=0; $gita_distance=0;$ultra_num=0;$gita_num=0; while($rowr = mysql_fetch_array($result)) { if($rowr[reply_sel]==n and $rowr[read_only]==g) {$five_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $five_num++;} if($rowr[reply_sel]==n and $rowr[read_only]==b) {$ten_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $ten_num++;} if($rowr[reply_sel]==n and $rowr[read_only]==c) {$half_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $half_num++;} if($rowr[reply_sel]==n and $rowr[read_only]==d) {$full_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $full_num++;} if($rowr[reply_sel]==n and $rowr[read_only]==e) {$ultra_distance = $ultra_distance+$rowr[link1]; $ultra_num++;} if($rowr[reply_sel]==n and $rowr[read_only]==f) {$gita_distance = $gita_distance+$rowr[link1]; $gita_num++;} $total_distance = $total_distance+$rowr[link1]; $total_num++; } if(!$five_best) $five_best="±â·Ï¾øÀ½"; if(!$ten_best) $ten_best="±â·Ï¾øÀ½"; if(!$half_best) $half_best="±â·Ï¾øÀ½"; if(!$full_best) $full_best="±â·Ï¾øÀ½"; if(!$total_distance) $total_distance="0 km"; else $total_distance="".number_format($total_distance,0)." km"; $ultra_distance="".number_format($ultra_distance,0); $gita_distance="".number_format($gita_distance,0); echo "\n"; echo " $img_link

$title
$count_opp
ÀÌ ¸§ $name ¼º º°$sex
³ª ÀÌ$current_old ¼¼ °æ ·Â$carrier_year ³âÂ÷
´Ð³×ÀÓ$row[sub5] Á÷ ¾÷$row[sub6]
Ç®Âü°¡È½¼ö$full_num ȸ Ç®ÃÖ°í±â·Ï$full_best
À̸ÞÀÏ$runner_email ȨÆäÀÌÁö$runner_url
ÀÚ±â¼Ò°³$row[title]
¸í¿¹Àü´ç
ÇØ´çÀÚ°Ý
\n"; include("../../inc_file/view/content.php"); echo"
\n"; } // ========================================================ÇÔ¼ö µî·Ï ºÎ //¾Æ·¡ DB·ÎºÎÅÍ µ¥ÀÌŸ¸¦ ºÒ·¯¿Í Á¤¿­ÇÏ´Â ¹æ½ÄÀ» ¼±Åà //""¾È¿¡ Á¤¿­À» ¿øÇÏ´Â º¯¼ö¸¦ ¾²¸é µÈ´Ù. ¿øÇÏÁö ¾ÊÀ¸¸é ""¸¸ ¾¸. (ÁÖÀÇ)º¯¼öµÚ ½°Ç¥(,)Àº ²À ¾µ °Í. //¿ªÀ¸·Î Á¤¿­À» ¿øÇϸé "º¯¼ö desc," ÀÌ·± ½ÄÀ¸·Î ÇÒ °Í. $db_array=""; //db·ÎºÎÅÍ µ¥ÀÌŸ¸¦ ºÒ·¯¿Í¼­ °¡°øÃ³¸® include("../../inc_file/list/sql_1.php"); //±Û ³»¿ë º¸±â Æû°ú ÆäÀÌÁö À̵¿ Æû include("../../inc_file/list/form.php"); ?> \n"; echo "\n"; echo "\n"; echo "\n"; } else { echo "\n"; echo "\n"; } echo "\n"; echo "\n"; ?>
 
$board_title
µî·ÏÀοø: $count ¸í       
>
cellpadding=2 border=0 width=100% class=outline>

>